Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
JavaScript DHTML
1) Ajax Layer
2) Data Type
3) Date Time
4) Development
5) Document
6) Dojo Toolkit
7) Event
8) Event Onmethod
9) Ext JS
10) Form Control
11) GUI Components
12) HTML
13) Javascript Collections
14) Javascript Objects
15) Javascript Properties
16) Jquery
17) Language Basics
18) Mochkit
19) Mootools
20) Node Operation
21) Object Oriented
22) Page Components
23) Rico
24) Scriptaculous
25) Security
26) Smartclient
27) Style Layout
28) Table
29) Utilities
30) Window Browser
31) YUI Library
Dojo Toolkit
1) A html page structure for using dojo
2) Add action to tag by using dojo byId(id)
3) Add behaviour to tag with dojo behavior add
4) Add DOM event to a tag
5) Add event to a button with dojo connect
6) Add event to a tag with dojo connect
7) Add Icon to ComboButton MenuItem
8) Add icon to button
9) Add MenuItem to DropDownButton
10) Add month to date
11) Add on click event to MenuItem
12) Add style class to tag by using dojo addClass(myDiv, myClass)
13) Add submenu
14) Add toggle button to tool bar
15) Add tool tip to text
16) Add ToolbarSeparator to Toolbar
17) Add tooltip to tag(span)
18) Animate width property
19) Animation
20) Animation easing function
21) Animation with dojox timing Sequence
22) Append node to body with dojo body
23) Append to string builder
24) Array filter
25) Array index of
26) Array index offset
27) Att separator to tool bar
28) Behaviour
29) Behaviour mouse out
30) Blend colors
31) Build group regular expression in dojo
32) Calculate distance for two points
33) Calendar in Chinese
34) Chained animation
35) Change color object to CSS
36) Change margin box
37) Change position animation
38) Change style with dojo style
39) Change tag sequence
40) Check class existance
41) Check descendant by id
42) Check existance for property
43) Check function existance
44) Check node descendant
45) Check number format
46) Check phone number format
47) CheckBox checked state
48) CheckBox onclick event
49) CheckBox preset value
50) Clear a dictionary
51) Clear ArrayList
52) Clear string builder
53) Clone node
54) Close tab event
55) Color from Hex value
56) Color from hex value based on existing value
57) ComboBox on change event
58) ComboBox on change event with dojo event
59) ComboButton click event
60) ComboButton MenuItem click event
61) Compare two dates
62) Connect animation
63) Connect two animations
64) Connect two functions together
65) ContextMenu setup
66) Convert array to JSON
67) Convert ArrayList to Array
68) Convert date to ISO format string
69) Convert degree to Radians
70) Convert dojo Color object to CSS
71) Convert dojo Color to hex value
72) Convert dojo Color to RGB
73) Convert dojo Color to RGBA
74) Convert object to JSON
75) Convert query string to JSON
76) Convert radian to degree
77) Convert stack to array
78) Create a color picker
79) Create a dialog declaratively
80) Create a dialog with your code
81) Create a dictionary
82) Create a gray color
83) Create a movable tag through code
84) Create Accordian Pane with your code
85) Create Accordion Pane declaratively
86) Create an ArrayList and add elements to it
87) Create color from your array
88) Create currency field
89) Create currency field programmatically
90) Create data input dialog
91) Create dijit ColorPalette from code
92) Create dijit ColorPalette programmatically
93) Create dijit form NumberSpinner and set constraints
94) Create dijit layout AccordionContainer
95) Create disclosure pane(dijit TitlePane)
96) Create dojo Color
97) Create dojo Color from an Array based on existing color
98) Create dojo Color from String
99) Create dojo ComboBox
100) Create dojo ComboBox declaratively
101) Create dojo Date
102) Create dojo date object
103) Create Ellipse
104) Create fish eye list
105) Create inline text editor(dijit InlineEditBox)
106) Create number box(dijit form NumberTextBox) and set value
107) Create number spinner (dijit form NumberSpinner)
108) Create ProgressBar
109) Create rich text editor programmatically
110) Create stack container programmatically
111) Create StringBuilder
112) Create TabContainer
113) Create text editor declaratively
114) Create TextArea
115) Create TextBox
116) Create TimeTextBox
117) Create tool bar and add buttons to it
118) Create validation text field
119) Create vertical slider and set value, minimum, maximum and discreteValues
120) Cross fade
121) Customized function loader
122) Cut, copy and paste icons
123) DateTextBox prompts invalid message
124) Declare a dijit ColorPalette
125) Declare dijit form Button
126) Declare dijit form DateTextBox
127) Define date pattern for dijit form DateTextBox
128) Define pattern for dijit form NumberTextBox
129) Dialog button action
130) Dictionary containsKey
131) Dictionary containsValue
132) Dictionary count
133) Dictionary Entry
134) Dictionary key iterator
135) Dictionary value iterator
136) Dijit ColorPalette on change event
137) Dijit form FilteringSelect
138) Dijit form NumberSpinner
139) Disable, enable button
140) Disclosure pane creation
141) Disconnect function
142) Does ArrayList contain
143) Dojo addOnLoad
144) Dojo animation alert
145) Dojo button label
146) Dojo check box creation
147) Dojo cldr monetary getData
148) Dojo clone
149) Dojo drag and drop reorder
150) Dojo method event
151) Dojo regex escape string
152) Dojo regex group
153) Dojo setObject
154) Dojo string pad(, 5)
155) Dojo string pad(, 5, ) space
156) Dojo string pad(0, 5, 1)
157) Dojo string pad(0, 5, 1, true)
158) Dojo string sprintf
159) Dojo string substitute
160) Dojo string substitute(${0} and ${1} , [Jack, Jill])
161) DOM node from border layout
162) Draw 3D ball
163) Draw line
164) Draw polygon
165) Draw rectangle
166) Draw stroke
167) Draw text
168) Drop to target
169) Email address regex for ValidationTextBox
170) Error toaster
171) Every function
172) Extend class
173) Fade effect for Menu under ComboButton
174) Fade me out
175) Fade out animation
176) Fadein animation
177) Fadeout animation demo
178) File menu
179) Fill text
180) Filter item out
181) Fish eye on text
182) Five spots of BorderLayout
183) For each function with value in dijit form TextBox
184) For each item
185) Force ComboBox to valid
186) Format currency
187) Format numner as currency
188) Format slider value
189) Generate time based UUID
190) Get button text from predefined locale
191) Get check box value
192) Get computed border width
193) Get data from editor
194) Get date difference
195) Get date from dialog
196) Get day in a month
197) Get Element by id
198) Get element in ArrayList by index
199) Get element index in an array
200) Get even-ord numbers with every function
201) Get first week
202) Get gaussian random number
203) Get Iterator from ArrayList
204) Get Iterator from dictionary
205) Get index of an item in ArrayList
206) Get item index
207) Get iterator from Stack
208) Get last index of
209) Get mid point
210) Get range
211) Get style from tag
212) Get tag by ID and change inner html
213) Get tag coordinates
214) Get time zone
215) Get UUID version
216) Get value from dijit form TextBox and do the validation
217) Get variant from UUID
218) Get week end day
219) Hide dialog
220) Highlight animation
221) Horizontal slider bar
222) HTML tags inline editing
223) Inline text box
224) Insert at index
225) Insert element into an ArrayList
226) Integer sprintf
227) Is array like
228) Is checkbox checked
229) Is in range with dojox validate isInRange
230) Is it a string
231) Is it an object
232) Is leap year
233) Is object a function
234) Is object an array
235) Is valid UUID
236) Italic icon
237) Layout control
238) Leave space in sprintf
239) Load custom function
240) Load dojo frame
241) Load predefined locale
242) Load tree data
243) Log to firebug console
244) Login dialog
245) Make any tag moveable
246) Make tag not selectable
247) Make tag selectable
248) Make text field moveable
249) Manage history
250) Map each item in an array
251) Math ease function
252) Math standard deviation
253) Maxmin slider value
254) Message toaster
255) Min,max, date pattern for DateTextBox
256) Mix two classes
257) Nested Accordion Pane
258) Null UUID
259) Number spinner
260) NumberSpinner
261) Output as char
262) Output dijit ColorPalette selected value in on change event
263) Padding string
264) Parse currency
265) Parse ISO Date format string
266) Parse string as number
267) Path animation
268) Pause before
269) Pause one second
270) Peek element
271) Pop element out
272) Popup dialog
273) Precheck checkbox
274) ProgressBar
275) ProgressBar creation
276) ProgressBar dialog
277) ProgressBar Interval
278) Push elements to stack
279) Query dojo icon class with dojo query()
280) Query element id and add action
281) Query style
282) Query style from tag
283) Query to object
284) Random UUID
285) Remove class
286) Remove element from ArrayList
287) Remove entry from Dictionary
288) Remove letter from string
289) Reorder DIV tag
290) Repeat 5 times
291) Replace string in string buffer
292) Replace value in Text Editor
293) Reset spinner
294) Reverse an ArrayList
295) Right click in here to get the contextual menu
296) Round a number
297) Search property with exist function
298) Seed based UUID
299) Sequence pause after and go
300) Set animation rate
301) Set checkbox value
302) Set color to new value
303) Set ComboBox auto-complete to false
304) Set constraints for dijit form DateTextBox
305) Set dijit form TextBox propercase=true
306) Set element by index
307) Set icon class
308) Set intermediateChanges for Slider
309) Set invalide message for dijit form ValidationTextBox
310) Set new style
311) Set prompt message for TextBox
312) Set proper case for ValidateTextBox
313) Set RadioButton group and default selection
314) Set required to true for ValidationTextBox
315) Set slide handle image
316) Set small delta and large delta for dijit form NumberSpinner
317) Set Tab position
318) Set tab title
319) Set title for Accordion Pane
320) Set to lower case for dijit form ValidationTextBox
321) Set up dijit form DateTextBox
322) Set value for ProgressBar
323) Set value for spinner
324) Setup border container
325) Setup min, max and fractional constraints for CurrencyTextBox
326) Setup radio button
327) Setup RichTextEditor
328) Shape rotation
329) Show and hide tooltip
330) Show label off
331) Simple dialog
332) Simple disclosure pane
333) Simple slider
334) Simple TextArea
335) Simple TextBox
336) Simplest dijit form NumberTextBox
337) Slide back to original spot
338) Slide in animation
339) Slider on change dojo event
340) Slider on change event
341) Some function
342) Some function for even-odd numbers
343) Sort an ArrayList
344) Stack container with back and forward actions
345) Stack contains
346) Stop event bubble
347) Subscribe function
348) Subscribe to start
349) Substitute with function
350) Substitute with named parameters
351) Tabbed pane with title
352) TextBox proper case
353) Three tabs
354) Timer interval, onclick, start and stop
355) TitlePane and TextArea
356) Toggle button on change event
357) Toggle tag class with dojo toggleClass(myDiv, myClass)
358) Toggle with true and false
359) Tooltip dialog and dropdown button
360) Trim a string
361) Trim dijit form TextBox
362) Trim ValidationTextBox
363) Two inline editors
364) Use code to border layout tags
365) Use dijit form FilteringSelect to create an auto-complete list
366) Use dojo calendar
367) Use dojo cookie to create a cookie
368) Use dojo require() to load modules
369) Use dojo to create class
370) Use foreach to add action to buttons
371) Use map function to add one to each array item
372) Use package name in function definition
373) Use predefined icons for buttons
374) Use regex to validate a dijit form ValidationTextBox
375) Use splitpane
376) Use splitter content pane
377) Use StackContainer and ContentPane
378) Use time text box
379) Use toggle button and tool bar, add icon to toggle button
380) Use toggler to show and hide tag with wipe in and out
381) Use your own format function to format a dijit form TextBox
382) UUID equals
383) Validate credit card number
384) Validate email
385) Validate email address
386) Validate Isbn
387) Validate Luhn number
388) Validate Max length of TextBox
389) Warning toaster
390) Wipeout animation
391) Wipeout animation easing function
392) Wizard based on stack container
393) Zipcode validation